﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Carmall.Entity.RolesInfo>" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>类目管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="GPS系统" />
<meta name="description" content="GPS系统" />
<meta content="zh-cn" http-equiv="content-language" />
<meta content="GPS系统。all rights reserved" name="copyright" />
<script type="text/javascript" src="../../Content/js/jquery.js"></script>
<script type="text/javascript" src="../../Content/js/thickbox.js"></script>
<link href="../../Content/css/manage.css" rel="stylesheet" type="text/css" />
<link href="../../Content/css/thickbox.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="dialog_title"><div class="icon">角色管理 - 添加</div><div class="close"><a href="javascript:void(0)" onclick="top.tb_remove()"></a></div></div>
<div class="dialog_content margin_none">
	<div class="c_m_f">
        <% using (Html.BeginForm())
           {%>
        <%: Html.ValidationSummary(true)%>
		<table border="0" cellspacing="1" cellpadding="0" class="c_t_c c_m_e">
			<tr>
				<th class="tac" width="16%">角色名称</th>
				<td class="tal" width="84%"><%= Html.TextBoxFor(model => model.RoleName, new { @class = "c_i_a" })%></td>
			</tr>
			<tr>
				<th class="tac">权限列表</th>
				<td class="tal">
					<ul class="c_l_a c">
                        <% foreach (var item in Carmall.BLL.BLLFactory<Carmall.BLL.Modules>.Instance.GetAll())
                           { %>
						    <li><input type="checkbox" name="roles" value="<%= item.ModuleID %>" id="" /><%= item.ModuleName%></li>
                        <%} %>
					</ul>
				</td>
			</tr>
		</table>
		<div class="c_p_c c_m_e"><input type="submit" value="确 认" class="btn_a_5" title="确认" /></div>
        <%} %>
	</div>
</div>
 </body>
 </html>